package com.woniuxy.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

/**
 * @author fengyao
 * @version 1.0
 * @date 2019/9/29 0029 上午 12:26
 */
@Mapper
@Repository
public interface RabbitMQMapper {

    @Update("update auction set status=4 where gid=#{gid} and valid=1")
    void startAuction(Integer gid);
}
